@extends('main/layout')
@section('title')
    <title>{{$data->title}}详情页</title>
@endsection
@section('link')
    <link rel="stylesheet" href="/css/news.css">
    <link rel="stylesheet" href="/css/news_detail.css">
@endsection
@section('content')
    <div class="banner">
        <img src="/images/banner.jpg" class="img-responsive">
    </div>
    <div class="detail">
        <div class="detail_left">
            <div class="title">{{$data->title}}</div>
            <div class="content">
                <div class="time">
                    <div>{{$t[1]}}月</div>
                    <div class="time1">{{$t[2]}}日</div>
                    <div>{{$t[0]}}年</div>
                </div>
                <div class="des">
                    {!! $data->content !!}
                </div>
                <div style="clear: both;"></div>
            </div>
        </div>
        <div class="detail_right">
            <div class="title1">最新资讯</div>
            <div class="content1">
                @foreach($list as $val)
                <a href="/service/detail/{{$val['id']}}">
                    <p>{{$val['title']}}</p>
                </a>
                @endforeach

            </div>
        </div>
        <div style="clear: both;"></div>
    </div>

@endsection
@section('script')
    <script src="/js/news.js"></script>
@endsection